//
//  SignatureView.h
//  BMW
//
//  Created by up72-2 on 15/10/26.
//  Copyright © 2015年 up72-2. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ACEDrawingView.h"
#import "NetManager+UPRequest.h"
#import "BMWQusetionModel.h"

typedef void(^callBack)();
@interface SignatureView : UIView<NetManagerDelegate,ACEDrawingViewDelegate>
{
    NetManager *netManager;
    BOOL isSign;
}

@property (weak, nonatomic) IBOutlet UIView *drawView;
- (IBAction)resetBtn:(UIButton *)sender;
- (IBAction)commitBtn:(UIButton *)sender;
- (IBAction)cancleBtn:(UIButton *)sender;
@property (weak, nonatomic) IBOutlet UIButton *commitBtn;
@property (weak, nonatomic) IBOutlet UIButton *cancleBtn;
@property (weak, nonatomic) IBOutlet UIButton *resetBtn;
@property (weak, nonatomic) IBOutlet UIView *mainView;
@property (weak, nonatomic) IBOutlet UITextField *nameTF;
@property (weak, nonatomic) IBOutlet UITextField *pwdTF;

@property (strong, nonatomic) ACEDrawingView *aceView;
@property (strong, nonatomic) BMWQusetionModel *quesModel;

@property (nonatomic,copy) callBack back;
@property (nonatomic, retain) NSMutableDictionary *dataDic;

@property (weak, nonatomic) IBOutlet UILabel *carLabel;
@property (weak, nonatomic) IBOutlet UILabel *areaLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@end
